package xyz.longicorn.driver.controller;

import io.swagger.annotations.Api;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.longicorn.driver.dto.ApiResult;
import xyz.longicorn.driver.dto.FileItem;

@RestController
@RequestMapping("/api/file")
public class FileController {
    @PostMapping("/rename")
    public ApiResult rename(@Validated @RequestBody FileItem item) {
        return ApiResult.success(null);
    }
}
